/*
 * Created by JFormDesigner on Wed Apr 19 19:20:34 CST 2023
 */

package com.viking.gui.sampledetail;

import java.awt.*;
import javax.swing.*;
import javax.swing.GroupLayout;
import javax.swing.LayoutStyle;
import javax.swing.table.*;

/**
 * @author 86137
 */
public class SampleDetail extends JFrame {
    public SampleDetail() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        ldetailNumberabel1 = new JLabel();
        sampleDescriptionlabel2 = new JLabel();
        label3 = new JLabel();
        ldetailNumbertextField1 = new JTextField();
        sampleDescriptiontextField2 = new JTextField();
        spermNumberlabel4 = new JLabel();
        sampleDetailValuelabel5 = new JLabel();
        spermNumbertextField3 = new JTextField();
        sampleDetailValuetextField4 = new JTextField();
        sampleDetailCategorylabel6 = new JLabel();
        otherInformationlabel7 = new JLabel();
        sampleDetailCategorytextField5 = new JTextField();
        otherInformationtextField6 = new JTextField();
        sampleDetailItemlabel8 = new JLabel();
        photoDescriptionlabel9 = new JLabel();
        sampleDetailItemtextField7 = new JTextField();
        photoDescriptiontextField8 = new JTextField();
        inquirebutton1 = new JButton();
        resetbutton2 = new JButton();
        scrollPane1 = new JScrollPane();
        table1 = new JTable();
        dlabel10 = new JLabel();
        comboBox1 = new JComboBox<>();
        pagelabel11 = new JLabel();
        addbutton3 = new JButton();
        changebutton4 = new JButton();
        deletebutton5 = new JButton();
        upbutton1 = new JButton();
        downbutton2 = new JButton();

        //======== this ========
        setTitle("\u6837\u672c\u8be6\u7ec6");
        Container contentPane = getContentPane();

        //---- ldetailNumberabel1 ----
        ldetailNumberabel1.setText("\u8be6\u7ec6\u7f16\u53f7\uff1a");

        //---- sampleDescriptionlabel2 ----
        sampleDescriptionlabel2.setText("\u6837\u672c\u8be6\u7ec6\u63cf\u8ff0\uff1a");

        //---- label3 ----
        label3.setText("text");

        //---- spermNumberlabel4 ----
        spermNumberlabel4.setText("\u7cbe\u5b50\u7f16\u53f7\uff1a");

        //---- sampleDetailValuelabel5 ----
        sampleDetailValuelabel5.setText("\u6837\u672c\u8be6\u7ec6\u503c\uff1a");

        //---- sampleDetailCategorylabel6 ----
        sampleDetailCategorylabel6.setText("\u6837\u672c\u8be6\u7ec6\u7c7b\u522b\uff1a");

        //---- otherInformationlabel7 ----
        otherInformationlabel7.setText("\u5176\u4ed6\u4fe1\u606f\uff1a");

        //---- sampleDetailItemlabel8 ----
        sampleDetailItemlabel8.setText("\u6837\u672c\u8be6\u7ec6\u9879\u76ee\uff1a");

        //---- photoDescriptionlabel9 ----
        photoDescriptionlabel9.setText("\u56fe\u7247\u63cf\u8ff0\uff1a");

        //---- inquirebutton1 ----
        inquirebutton1.setText("\u67e5\u8be2");

        //---- resetbutton2 ----
        resetbutton2.setText("\u91cd\u7f6e");

        //======== scrollPane1 ========
        {

            //---- table1 ----
            table1.setModel(new DefaultTableModel(
                new Object[][] {
                    {null, null, null, null, null, null, null, null},
                    {null, null, null, null, null, null, null, null},
                    {null, null, null, null, null, null, null, null},
                    {null, null, null, null, null, null, null, null},
                    {null, null, null, null, null, null, null, null},
                },
                new String[] {
                    "\u8be6\u7ec6\u7f16\u53f7", "\u7cbe\u5b50\u7f16\u53f7", "\u6837\u672c\u8be6\u7ec6\u7c7b\u522b", "\u6837\u672c\u8be6\u7ec6\u9879\u76ee", "\u6837\u672c\u8be6\u7ec6\u63cf\u8ff0", "\u6837\u672c\u8be6\u7ec6\u503c", "\u5176\u4ed6\u4fe1\u606f", "\u56fe\u7247\u63cf\u8ff0"
                }
            ));
            scrollPane1.setViewportView(table1);
        }

        //---- dlabel10 ----
        dlabel10.setText("\u7b2c");

        //---- comboBox1 ----
        comboBox1.setModel(new DefaultComboBoxModel<>(new String[] {
            "1",
            "2",
            "3",
            "4",
            "5",
            "6"
        }));

        //---- pagelabel11 ----
        pagelabel11.setText("\u9875");

        //---- addbutton3 ----
        addbutton3.setText("\u589e\u52a0");

        //---- changebutton4 ----
        changebutton4.setText("\u4fee\u6539");

        //---- deletebutton5 ----
        deletebutton5.setText("\u5220\u9664");

        //---- upbutton1 ----
        upbutton1.setText("\u4e0a\u4e00\u9875");

        //---- downbutton2 ----
        downbutton2.setText("\u4e0b\u4e00\u9875");

        GroupLayout contentPaneLayout = new GroupLayout(contentPane);
        contentPane.setLayout(contentPaneLayout);
        contentPaneLayout.setHorizontalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGroup(contentPaneLayout.createParallelGroup()
                        .addGroup(contentPaneLayout.createSequentialGroup()
                            .addGroup(contentPaneLayout.createParallelGroup()
                                .addGroup(contentPaneLayout.createSequentialGroup()
                                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.TRAILING, false)
                                        .addGroup(contentPaneLayout.createSequentialGroup()
                                            .addComponent(label3)
                                            .addGap(137, 137, 137))
                                        .addGroup(contentPaneLayout.createSequentialGroup()
                                            .addComponent(sampleDescriptionlabel2)
                                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(sampleDescriptiontextField2, GroupLayout.PREFERRED_SIZE, 93, GroupLayout.PREFERRED_SIZE)
                                            .addGap(36, 36, 36))
                                        .addGroup(contentPaneLayout.createSequentialGroup()
                                            .addComponent(ldetailNumberabel1)
                                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                            .addComponent(ldetailNumbertextField1, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE)
                                            .addGap(36, 36, 36)))
                                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.TRAILING)
                                        .addComponent(sampleDetailValuelabel5)
                                        .addComponent(spermNumberlabel4))
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(contentPaneLayout.createParallelGroup()
                                        .addComponent(spermNumbertextField3, GroupLayout.PREFERRED_SIZE, 86, GroupLayout.PREFERRED_SIZE)
                                        .addComponent(sampleDetailValuetextField4, GroupLayout.PREFERRED_SIZE, 86, GroupLayout.PREFERRED_SIZE))
                                    .addGroup(contentPaneLayout.createParallelGroup()
                                        .addGroup(contentPaneLayout.createSequentialGroup()
                                            .addGap(37, 37, 37)
                                            .addComponent(sampleDetailCategorylabel6))
                                        .addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
                                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(otherInformationlabel7)))
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(contentPaneLayout.createParallelGroup()
                                        .addComponent(sampleDetailCategorytextField5, GroupLayout.PREFERRED_SIZE, 95, GroupLayout.PREFERRED_SIZE)
                                        .addComponent(otherInformationtextField6, GroupLayout.PREFERRED_SIZE, 97, GroupLayout.PREFERRED_SIZE))
                                    .addGroup(contentPaneLayout.createParallelGroup()
                                        .addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
                                            .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(photoDescriptionlabel9))
                                        .addGroup(contentPaneLayout.createSequentialGroup()
                                            .addGap(31, 31, 31)
                                            .addComponent(sampleDetailItemlabel8)))
                                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED))
                                .addGroup(GroupLayout.Alignment.TRAILING, contentPaneLayout.createSequentialGroup()
                                    .addComponent(inquirebutton1)
                                    .addGap(26, 26, 26)))
                            .addGroup(contentPaneLayout.createParallelGroup()
                                .addComponent(resetbutton2)
                                .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.LEADING, false)
                                    .addComponent(sampleDetailItemtextField7, GroupLayout.DEFAULT_SIZE, 95, Short.MAX_VALUE)
                                    .addComponent(photoDescriptiontextField8, GroupLayout.DEFAULT_SIZE, 95, Short.MAX_VALUE))))
                        .addComponent(scrollPane1, GroupLayout.PREFERRED_SIZE, 852, GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(76, Short.MAX_VALUE))
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addGap(21, 21, 21)
                    .addComponent(dlabel10)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(comboBox1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(pagelabel11, GroupLayout.PREFERRED_SIZE, 20, GroupLayout.PREFERRED_SIZE)
                    .addGap(26, 26, 26)
                    .addComponent(upbutton1)
                    .addGap(18, 18, 18)
                    .addComponent(downbutton2)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 219, Short.MAX_VALUE)
                    .addComponent(addbutton3)
                    .addGap(28, 28, 28)
                    .addComponent(changebutton4)
                    .addGap(29, 29, 29)
                    .addComponent(deletebutton5)
                    .addGap(63, 63, 63))
        );
        contentPaneLayout.setVerticalGroup(
            contentPaneLayout.createParallelGroup()
                .addGroup(contentPaneLayout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(sampleDetailItemlabel8)
                        .addComponent(sampleDetailCategorylabel6)
                        .addComponent(sampleDetailCategorytextField5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(sampleDetailItemtextField7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(spermNumbertextField3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(ldetailNumbertextField1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(ldetailNumberabel1)
                        .addComponent(spermNumberlabel4))
                    .addGap(27, 27, 27)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(sampleDescriptionlabel2)
                        .addComponent(photoDescriptiontextField8, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(sampleDetailValuelabel5)
                        .addComponent(sampleDetailValuetextField4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(otherInformationtextField6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(sampleDescriptiontextField2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(photoDescriptionlabel9)
                        .addComponent(otherInformationlabel7))
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(label3, GroupLayout.PREFERRED_SIZE, 0, GroupLayout.PREFERRED_SIZE)
                    .addGap(29, 29, 29)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(inquirebutton1)
                        .addComponent(resetbutton2))
                    .addGap(36, 36, 36)
                    .addComponent(scrollPane1, GroupLayout.PREFERRED_SIZE, 141, GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 27, Short.MAX_VALUE)
                    .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
                        .addComponent(dlabel10)
                        .addComponent(comboBox1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
                        .addComponent(pagelabel11, GroupLayout.PREFERRED_SIZE, 20, GroupLayout.PREFERRED_SIZE)
                        .addComponent(addbutton3)
                        .addComponent(changebutton4)
                        .addComponent(deletebutton5)
                        .addComponent(upbutton1)
                        .addComponent(downbutton2))
                    .addGap(17, 17, 17))
        );
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JLabel ldetailNumberabel1;
    private JLabel sampleDescriptionlabel2;
    private JLabel label3;
    private JTextField ldetailNumbertextField1;
    private JTextField sampleDescriptiontextField2;
    private JLabel spermNumberlabel4;
    private JLabel sampleDetailValuelabel5;
    private JTextField spermNumbertextField3;
    private JTextField sampleDetailValuetextField4;
    private JLabel sampleDetailCategorylabel6;
    private JLabel otherInformationlabel7;
    private JTextField sampleDetailCategorytextField5;
    private JTextField otherInformationtextField6;
    private JLabel sampleDetailItemlabel8;
    private JLabel photoDescriptionlabel9;
    private JTextField sampleDetailItemtextField7;
    private JTextField photoDescriptiontextField8;
    private JButton inquirebutton1;
    private JButton resetbutton2;
    private JScrollPane scrollPane1;
    private JTable table1;
    private JLabel dlabel10;
    private JComboBox<String> comboBox1;
    private JLabel pagelabel11;
    private JButton addbutton3;
    private JButton changebutton4;
    private JButton deletebutton5;
    private JButton upbutton1;
    private JButton downbutton2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
